removed the demo code from the class file
Updated the lock class to handle the symbolic link lock correctly
Updated and fixed the killing of processes