moved database class
added dbrecord interface
moved logger to util directory