Java config in own file.
Standardised memory settings
Profile src path is now configurable through environment variable.