Update entity.py

a little cleanup & added docstrings for entitytype properties