Add new line at end of file
Using python logging for debug and error messages
Make topology parameter optional, by default use topology.net