fully tested and working including output logging
current version, slightly cleaned up
added gitignore for output and builds
i made these changes a long time ago and forgot to commit, not 100% sure what they are for.