Update FactoryModPlugin.java with the actual code :/

Actually put the factorymodplugin.java code into this file this time...