Some refactoring (method extractions) to make the initialization of the MJProject seem less insane.