Fixes for #114.

Adds support for starting the app form a subdirectory.
Creates mirror path when it doesn't exist when writing settings.json.
Calls mirror with absolute path to settings.json.