Cleaned up basic api and made new examples.