create definitions namespace and memoize minimax. Begin work on console interface