Automatic feeding and unloading of injection molding machine