implemented basics for flight module

also made it so motor average power/thrust can be controlled using 'w'
and 's' on keyboard through terminal