Rewrite using OO, initial implementation of file creation and execution methods