Side tracked by other project. Will resume later.
Added option to store client id and secret
Dynamisized