Final refactor

Hey Elder,

Around the time you merged up the social login, i did a little bit of refactoring on the SDK, it's really just minor stuff to make the SDK more clean. None of these changes change the way the SDK functions, it's only about code quality, cleanliness and readability. So if this gets merged or not, it won't make any difference.

Best,
Damir