Abstracted away the people engine and fixed a bug in it