make it compiles
add the solver class