Refactored code out of FolderDash.xaml.cs into custom classes