Made components generic around Systems instead of entitites.
Added some typedefs to the component base class.