Refactoring to a varian of CakePattern. Moved creation of pilots and controls to providers