basic code

This code needs to be adapted to emit tweets properly for client side.
TODO: cache tweets so they are not repeatedly sent