cleaned up code, removed unecessary routes and testing views