restructuring of js files
reorganized server side files
working with files in sub dirs
reorganized spec files
Merge pull request #882 from affektive/refactoring

Refactoring