added more functions to views
added more button functions
modifed based file
started population motorfunctions calls