Add build project and update the controller to use a type for easier testing