Sudan's military ousts president after 30 year rule