added a basic middleware to test basic rack concepts