Refactored the HTML and main spa module so that it's not called by Jasmine when the tests start. Also added aliases for some of the modules, to make it cleaner in testing (need to complete that).