add tweet ruby code to lib, change index view