add config.js
move views to app/views
change routes/*.js to app/controllers