SCSS cleanup, support migrations when server starts up and added a few unit tests