Minor updates to tile engine. Added map class