This simple program first opens up an ugly dialog asking which account you'd like to add.
It then uses the mojang api to fix the capitalization for that username, if that username already exists (to avoid issues when joining servers).
Finally, it will add the profile into the launcher_profiles.json
file in your .minecraft
folder, and select it for your minecraft launcher.