added timestamp function, db usage readme