Base ratchet framework for mobile development