created tool functions, added solver class