Added base classes and Gravatar provider