Clean up

An attempt to restructure things with minimal ways. The idea is the
examples can be removed from the library. I do not many changes past
this point of than the README.md