coding guidelines (closes #22)