start building examples
started building api and error fixing