Created 4 new packages and classes. One for serialization for the settings file. Another for the actual Settings object that gets serialized into the file type. Then i have utility classes to sperate implementation of file io from the button handlers. The my video handler now calls the methods scanDirectories and scanSubDirectories from the util class instead of having the methods inside the handler class and the Array with all the file extensions supported has been moved to the FileUtil Class aswell.