refactored the request handling
more refactoring
more refactoring
more refactoring
more refactor
more refactor
more refactor
removed the admin endpoints, they need more thought