Made a Class named Motor that has and init function to setup the GPIO pins and functions to control the motor.  The Motor Class is now called from a main method.