Added XCode Project and exception handling.