         return NSNotificationCenter.defaultCenter()
     }
 
-    class FileStore: NSObject {
+    class FileStore {
         func save(config: SlackApiConfig) {
             if let rootUrl = documentRootUrl() {
                 ensureRootUrl(rootUrl)

import Foundation
import KeychainAccess

class SlackApiConfigService: NSObject {
    static let instance = SlackApiConfigService()
    class func sharedService() -> SlackApiConfigService {
        return instance
    }

    private override init() {
    }

    func save(config: SlackApiConfig) {

        }
    }

    class KeychainStore {
        private let keychain: Keychain
        private let key = "slack-api-token"

        init() {
            let bundle = NSBundle.mainBundle()
            let appPrefix = bundle.objectForInfoDictionaryKey("AppIdentifierPrefix")
            let bundleIdentifier = bundle.bundleIdentifier
