added in the ability to have remote definitions for actor behaviour and interaction
clean up a bit