Generate base app