Code clean up of the Objective-C part of the library
Updated tests to a newer version of Swift