added ResourceManager, TileMap
added RenderMap
fixed some methods