init front-end framework