autogenerate ruby code structure based on uml diagrams