Added JavaDocs and added date specification to addENtry method