Removed unused imported packages in Factory method pattern demo.