new version based on fi-lab app template engine