hashmapping of DB added, cut down on number of DB calls. Something I've
forgotten in the half hour since I've done it. Log capability added, not
currently working because hibernate is the work of satan when it comes
to timestamp mapping