Adding libraries and plane tracking code.