Added feature to ApplicationClient to deploy an application from a class