added route logic and changed architecture. added partial views.
addition to previous commit