Refactor the controllers to use factories #24