added controller support
Merge branch 'dev'