Autonomous Quadrotor from Scratch