MEF - Separate list function and make dir optional

- Moved running of command lists into separate functions
- Made specifying a working directory optional
- Tidied tests
- Bump Version