Ba/generate models

leiam os commits xD