In server.xml, use environment variables instead of regex text replacement.
Slimmed down the project for clearer structure.
Removed need to create a copy of the project in the data folder.