Added map storage functionality and loading from txt