Category: A General Theory of Behaviour