Internal refactoring. Added experimental test running. Added XCTest linking to framework.
Fixed compiler error.
Reorganized code.