Added serialization
Fix'd bug with map not initialising properly
Added code for movement