added front-end API skeleton