Added twitter class and implemented it