Adding main.js
Setting up dependencies and unit testing