added events table to database and handling functions. added icons to
resource files