Revised twitter session class to be more readable