Added shared library, working on autopilot structure