Add list dependencies function and update README