National unity government hoped to provide Libyans with a "prosperous and stable future" after years of instability.