Feature/add application

please review the add application feature.

@stevewirts @datamadic