Allow parsing custom map files with program arguments for testing purposes.
Introduce BitFlags template.
Implement majority of map attributes.