Split into executable and library

Will move most of Export into Main
Split Main into Main and Export
Documentation
Documentation, and bumped to v0.3