Zaslat SMS: Theory of dislocations