Add front pages and use async and update the package.json