         constants["_PLATFORM_DEVICE_NAME"] = UIDevice.currentDevice().name
         constants["_PLATFORM_VERSION"] = UIDevice.currentDevice().systemVersion
         constants["_BREAKBALOON_VERSION"] = "1.0.0"
+        constants["_BBTC_VERSION"] = "0.1.11"
+        constants["COLOR_BLACK"] = "0"
+        constants["COLOR_WHITE"] = "16581375"
+        constants["COLOR_RED"] = "16581375"
+        constants["COLOR_BLUE"] = "255"
+        constants["COLOR_GREEN"] = "65280"
+        constants["COLOR_YELLOW"] = "16776960"
+        constants["COLOR_ORANGE"] = "16744448"
+        constants["COLOR_PINK"] = "16711935"
+        constants["COLOR_PURPLE"] = "8388736"
+        constants["COLOR_AQUA"] = "65535"
         properties["theme.id"] = null
         properties["theme.name"] = null
         properties["theme.description"] = null

        methods["toCap"] = toCap
        methods["rotate"] = rotate
        methods["rotate_flip"] = rotateFlip
        // MARK: parse
        var commands: [(Int, String)] = []
        for line in 0..<lines.count {

        return nil
    }
    
    func pixelChange(variable: String, stringLiteral: String) throws -> String? {
        if get(variable) == nil {
            print("Tried to change pixels of a null image")
            throw ExecErrors.NullPointerError
        }
        if !stringLiteral.containsString("->") {
            print("The syntax of replaceColors is 'var.replaceColors(COLOR1->COLOR2)'")
            throw ExecErrors.SyntaxError
        }
        let cmps = stringLiteral.componentsSeparatedByString("->")
        try set(variable, value: UIImagePNGRepresentation(pixelChangeImpl(getImage(variable).CGImage!, from: parseColor(cmps[0]), to: parseColor(cmps[1])))!.base64EncodedStringWithOptions(.Encoding64CharacterLineLength))
        return nil
    }
    
    /// SO: 27092354
    func rotateImpl(image: UIImage, radians: CGFloat, flip: Bool) -> UIImage {
        let rotatedViewBox = UIView(frame: CGRect(origin: CGPointZero, size: image.size))
        rotatedViewBox.transform = CGAffineTransformMakeRotation(radians)
