continued cleanup and refactoring

tried to bring everything back to a semi-working state
worked on further code refactoring and cleanup
updated docstrings
fixed everything so far that at least the listener works as intended
reworked docs to .md files and updated README.md