ticket:3 Middleware Created
ticket #3 middleware. Some functional and unit tests. With basic implementation
t3_middleware done