Added working api to app,writting tweets to db while fectching