Removed base test device. Added project class. Bunch of refactoring.