Start compileApi

This adds the `compile-api` task which builds the api into `dist/api`. 


such whitespace