Added beta version for direction and speed control of Dc motors