Convert from windows to unix
Write pid to file
Add .gitignore
Use slots to lower memory usage
Fix lockfile path. Can't presume CWD
Updated license from orginal post