Created class which adds metadata info about a class to database