fixed Behaviour undefined issues and added readme