Relocate class out of main form for reusability/less lines in main.cs refactored to be a bit more oop