added rawptr getters, made the wrapper a singleton