Some files moved to subdirectory, added some unit tests.
bug fix: uninitialized member.
Unit tests for MagneticVariation added, mocking of some stuff from globals infrastructure.