code for flyport system for my seinor project