WIP refactored code with lucas, added Oauth token request