Initial commit of solver file