Removed unnecessary includes and old invalid code
Fixed the logic on the choosing of the correct DB driver based on the encryption criteria.
Added code to intitialize the DB
Changed the Diary::readDay function to just return void since we're reading from a DB instead of a file.