Refactoring of MainForm, added MainFormHandler, deleted some test classes, cleaned context.