Added jshint configuration.
Fixed lint error.
added router implementation