generate initial app