Updated header and comments to credit original authors
Support for gateway mode and provide a callback for user profile syncs
Converted readme to MD format. Added fork info.