finish: restructe the api except tweet api