add classes to store data in db
now load data from database
remove warnings and unused variables
now load data from db