Moved all imports to the top to be compilable with Xcode 6