added method checking for controller
Merge branch 'master' of https://github.com/flowgrammable/flowsim