Get rid of versiontools dependency and improve/clean logging setup