add chaplin boilerplate frontend code