Reorganized into modules to accomodate more code, added a Personality reader, for later use in moving light entities.