Refactored directory structure. Started using Jasmine for testing