change directory structure and update npm package and grunt config to be more modular