Singleston class base and auto registry