REST on Rails implementation / lib directory and Controllers

Has anyone tried to install/deploy the REST on Rails example from
XML.com? (REST on Rails)

Being fairly new to Rails, I don’t think I am putting the right pieces
in the right places and could use some advice.

The primary file associated with the install I have saved in the “lib”
directory but my Controller doesn’t seem able to find it.

Any advice?

Thanks,

-Mark