MainForm class created