refactored solution generating algorithm to it's own service and corresponding tests. preliminary happy path from service to controller to view