add javadoc
add the javadoc
impplemented the singleton design pattern for TileMap