database handler v1.0 completed