Edited makefile for new files + tests
Refactoring. Moved everything in new problem class.