Fixe indentation
Remove useless code
Change the way to configure the bundle
Working implementation of oauth mechanism