change package structure and several improved

change package structure and add functions of access token