Issue #2: Added generic base implementation for all code generators