added comments in some classes, added tests in MapDataTest and renamed it to ModelTest