Cleaned up a lot of functions

- cleaned out all inline stylings of elements
- deleted unused functions and controllers
continuing clean up