moving solver into a service
removing the old controller