A Class-based Virtual Machine Placement Technique for a Greener Cloud