class creation from control panel