update generator class to fit our oddball API.
we want to sort the resources in the UI properly
hard code a test
version
added a model method
support models and model DSL
use type and items instead
Merge pull request #1 from statelessnetworks/master

Pull to fix sorting of resources etc