add view and controller
cleaned up serverjs
detail page