code refactoring, preparing for solver, updated readme
fix readme, improved solution naming, got rid of more globals