Twitter class accepts input from console and redirects request