started to implement naive components

created a mesh component, started to migrate mesh code out of entities
and instantiate a mesh component instead.
partially complete.