Add initialise and deinitialise in for singleton

classes