refactor the generation of the different apis in progress
pseudo automated model generation
pep8
tests passing again