added controller
fixed parsing error in binrelnode creation