ttfunk gem rework for rubymotion