added create app functionality