Documentation and refactoring of constants.
Various refactoring.
Improvements to Twitter API access.