Updated .java files added stop service functionality