route/endpoint registering
endpoint interface refactoring