A simple database wrapper engine