added twitter/graph functionality + additional changes