Updated to V4.0

Added metrics
Added deprecation suppression
Added some config options to toggle various features
Removed the test unit