Doc

General outline setup, a lot of functions still need documented.