Added basic internal flight management system and started on saving to file