Manually create some factories.

Change-Id: I94b86d126bee18237692072b7a4debb008ef3fda
Reviewed-on: http://gerrit.dmdirc.com/3691
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager