Trying to implement Singelton Pattern on IOHandler