Made logging setup more library-like, with YAML config and command-line output file override. Changed to relative imports in sub-packages, updated readme.