fixed issue with .DS_Store
added Worker class as example of user-defined types in Python