Added basic map functions.
Added tile drawing feature.