[eval2] Move utility functions to their own module.
[eval2] Cleanups.
[eval2] Write more documentation, reorganize source code.
[eval2] Rename primitives.