Added object argument to the GenericPhysics

It accepts string, object and list or array of these two