added links() function to list all links of a resource
updated readme