Changed the environment to take in the manipulation components instead of dynamically instantiating them.
* environment takes in grid,cc,kmodel
* postponing updating the cartenvironment until the regular one works
* updated orientation solver, it still has to be moved