Added states to topdown module & enhanced tilemap parser.