Gamifying personal sleep tracking. iOS model with Ratchet & Flask.