Create Code of Duty

needs testing