Initial entity system implementation.