fix declarations to acommodate None organize imports fix with indents
check if conf file is written and read check if cfg struct is set correctls check correct private key test versioning