turn the file manager and options class into globals ready for refactor