entity system: add component struct
entity system: add entity class
entity system: add tests for entity class