added initial app code