First run of platform refactor
Unified definition template format
Refactor for definition.rb generation