Refactoring model into class. Logic not correct yet. Adding settings.ini to save last used output path.