Added database context class.