Initial Release of code

Not sufficient documentation and tests, this a terrible first commit,
most calls crash, but it contains description from almost all future
APIs