Refactoring and documentation in the interpreter subproject