Trying to implement simple DB framework.