NPC factory refactoring.

Code formatted. Changed the way of function declarations.
CollidableObjects group creation is changed