implemented more entity system stuff