Added a ModHull and re-organized a bit the code in entity.py