Made component system more versatile

Entity is now just a container for a vector of components that can be
added.