Move api and tweets to routes