working protype enabling control of front and rear motors