default method changed to POST
Client_secret now can be not provided (used only client_id)
Some code cleanup
Added few methods