Major changes, add flymode feature