small improvements in ecs, gameplay system, reformatting whole code