Restructured project and added jasmine for testing