added request_token features, updated the codes for the db, added data models for scope