Fix problems with fetch

Make --destination optional. Only create destination directory if it doesn't exist.
Fix logging

Set log level according to command line. Make default level INFO. Add log statements for training.
Proper detection of command-line subparsers