evolve toward controllers
migrate to controller with endpoints and handlers model