Fleshed out tilemap module and added initialise function.