Remotes

Add support for remotes, and add some tests.