Add all static modules and finish factory