This fixes issue #2

There are some modularization changes and .json file changes with this.
The problem was actually strange because i put quotes in between $http
it was telling there is no service so I was struggling on if it was
modularization issue or service location issue. The other minor problem
was location of data folder which was inside js files and I put it
outside