Added database classes to grid project