Changed some details in which Components are stored

Now using Bag<Bag<Component *> *> instead of Bag<Bag <Component *> >.
No unnecessary space is allocated in the beginning.
Added GroupManager

Added GroupManager class and a stub for the World class