basic middleman setup