Add basic frontend model implementation and example usage with koa