Rewrite of the factorization mods Router for Minecraft 1.5.2