created a new class for name, age and module