ticket:3 Made models and view for upcomming middleware