Big refactoring: library now spanning multiple files.

Public include is now coconut_pub.h instead coconut.h.