Removed pk from csv definitions using the migrations. Added create parameters to the models, started creating the discovery document.