use absolute imports

\*sigh\*
implement logging instead of self-written print(s)
remove dead code
update gitignore
implement correct logging

took a day, advice and more time to get it right :)