Enable uploading to sub folders
Modularized the css and angularjs code