claening ofctl_rest application