More Performance improvements

Code generation is now very fast thanks to sharing of database metadata
across all code generators