Created services and split them out into their own file. Cleaned up some things. Still wrapping my head around angular.