Basic singleton pattern example