adding all app code to base code