adding dtors and removing inline keyword
added typesafe cvar flags
added RAII destructor