create a class in democrey