Moving background to a class