add job locking
fix test
Code cleanup and styling fixes
Release 0.5.0