Enhance code generation

Add translations from Dictionary to Map.   Create generalized function
to get function parameters and remove old reverse args code for limited
to only 2 arguments.  Cleanup code for parsing declarations