Fixed wrong values passed to Vector2 ModuleParameter.
Simpler code for loading modules.
Removed dom parameter.