Update codebase to use Constants for PUBLISHED, DRAFT, etc.
update all