Separate class for glance plugin

Change-Id: I9f02409558e519a9dd6f1d9ae3ef6102bf4ec925