OOP framework for Titanum mobile framework