Moved examples to their own repositories. Removed old CMake files. Moved some types to their own module.