Cleaned up Resource a bit
Rewrite the server-side API to use Resource subclasses
Update the README