refactoring frontend ui service and backend architecture
- change behavior of http ui service
- change backend architecture, but not implemented yet.