Added touch and drag to change switch configuration

Added DirectionController class which is basically a view that takes touch inputs
Switch class contains and is the delegate of a DirectionController
Other classes such as defectors could implement DirectionController by adding the methods changeImage, changeDirection and newDirection