new function added

in this file we have the basic drive function for the MAIN Controller