Help Programming a Motor

How are you planning to power and control the motor (12V, unknown Amps)?