Added copy constructor and assignment operator in Application<>