Added new threshold extraction mechanism to the regulation module.
Fixed some pom related issues that prevent downstream builds from working correctly.