adding Map model and some basic tests