Moved memoization into a Memoizer object
Refactored DSL to clean up argument parsing and method creation.
Implemented extract command to extract attributes from arrays