Core class singleton pattern