Renaming resource -> resources.

Closes #23.