Begin implementation for testing
Removed require.js stuff
Fixed Karma, tests work now