Former rebel commander also declares himself president after weeks of de facto rule.