* Auto assign app type, app url and custom url to App
* Changed column "type" to "app_type"