TwitterServer based query service

this is based on the new collector work (tws-collector branch)