Moved classes to M3D directory & setup coveralls.