move map classes to separate file