cleaned up. switched to cmake. renamed a lot of the functions
some small additions to the solver class
made the script actually work