Documentation

- Adding documentation regarding the logic of why something is done the way it is