* added database framework for in-app operations