Updated pom.
Readded the exception and added a few changes.
Updated readme further.