write class IceBox inown file