datahandler which has singleton pattern