Move all codebase to middleman