first class to store data from DB