add changes that can submit a "create new application request" to server and can read response. make code better organized. (file forgot to push)