Refactor: Cleaned out the plugin.xml and removed LOC metric
Added Messaging metric to observe number of public methods
Added Hierarchies
Handled NAN condition for Encapsulation metric