Generate code with Velocity template starting from a meta data source