refacotred code, Modularized templates, added bowerrc, used bower to install libs