Launcher works on "profiles" and "versions".
To launch Forge, we need to hack the "version" file. This is done by copying the "version" file and hacking the copy.
We then copy the forge jar in as a library, as well as what forge needs.
Lastly, another "profile" is made which allows you to just start modded minecraft using it.