move types to separate file
replace complex tuple with MapTile type