Add simple singleton template class to prepare the upcomming of errors handling