added setting of oid to controller constructor
added reloadIndex parameter