Added basic controller to fetch map data.
Fleshed out SQL, terrain has more info. Map data now defined.
Support for multiple maps per database added.