add app database framework

database