added help page
refactoring database operations into sqlitedatabase