Description
Some of the core server code has been untouched for a long time. We should go over it and restructure it for clarity and correct startup/shutdown flow. This also functions as a preparation for #153.
Minimum Acceptance Criteria
[ ] Code should conform our style guide.
[ ] Code should be cleaned up and have a clear initialize/shutdown order, using Promises if necessary.
Description Some of the core server code has been untouched for a long time. We should go over it and restructure it for clarity and correct startup/shutdown flow. This also functions as a preparation for #153.
Minimum Acceptance Criteria