Use new enesim API and remove warnings

Remove all the class deinit functions