added mcms class and module getter. refactored tests directory