rename Main to Object functions
support ObjectName and ObjectsTotal