Build app foundation