New function to extract metrics of a Java Repository

Only functionality is included, Wiki for new feature will be pulled soon.