added clear method
spelling in comment
changed metric collection to HashMap
handles author metrics collection