added state system, and a tilemap