add ocs_state model and relations between ocs_state and ocs_relation along with helper methods state_name