Reorganize files. Convert tests to XCTest. Add a podspec