Refactor
Refactor more
Add cmake target helpers
Fix various issues with the build system
Refactor
Remove unused code