Add the main function
Remove comments
Add authenticate-oauth dependency
Add main samples execution (various error and success scenario)