Sync with local library instead of using middle-man server

If accepted, fixes #6