Design of an Attitude Control System for the Multi-Mission Platform and its Migration to a Real Time Operating System