Setting request and DB structures