Create a twitter connection class
Add callbacks to methods in Twitter class