cleaned up binaries from the repo and refactored a little