Messy private codebase shared here to let me easily work on multiple pcs and oses and in case someone finds it useful.