Refactored existing commandcenter endpoints and added remaining