refactored Assertion and BadgeClass into project.py.