added twitter search facility, refactored