basic code structure for megaraid manager