Simplify state management
Rename domain commands and HTTPServer methods
Remove unused dependencies and function parameters