Updates for Swift

- Updates to be compatible with Swift 1.0, previous it was using a syntax from an early beta.
- Uses `let` instead of `var` because these values are not changed.