Add code-generator for database schema from metadata