Refractored Command to SwipeCommand and Implemented some Commands