replace MrtObject with InvObject in models and controllers