made changes to map and tile classes