Removed dependency on UIKit

Next step is to switch to plist based preferences as we're not taking
advantage of code based preferences, reducing project size and
compilation size.