fixed #52 create log class

added database structure file