Start compileApi

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

I kept the template handlebars because we had it initially in this format and there's no logic so it seemed idea. If we want to port it over in the process of adding better styles that's cool too.