Added initial karma configuration file
moved test-main.js require bootstrap file for karma
Moved main js file to src folder