Changed directory structure and added a build directive for NPM.