ticket:3 Add middleware; Add RequestObject model