added print data function to database class
added folder structure.