Improve logging and replace print commands with log
Get the topology name from the directory containing the topology.

This can be overridden by using the -n | --name option

Fixes #3