Added the Magnetic Field classes

Also:

Layout changes
Bugfixes