implemented classes database class. +few teacher changes
implemented classes database class. +few teacher changes