add libraries and twitter code