Added some documentation and fixed some bugs.
Renamed resources to artifacts and entry to artifact info.
Tidied up documentation and method naming.