updated singleton methods / class example
add singleton class example