updating database models. generated migrations. fleshed out the create relationship code. created the get_details function. have yet to test the commit function.