use FooOBJ OOP to operate database