Manually create some factories.

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