Minor refactoring, added MD5 calculation for Gravatar