Create persistence.py

Entities classes and decorators for workers