Example database framework