Feature/hook distribution screen into db