add application definition