adds readme and factors out client id and callback