Code cleaned and added new methods to get document