add controllers and views

- [x] add controllers and views