Updated the code with copyright information
Updated the applicaiton.java