Updated the inline comments
Use more terse notation
Cleanup and added comments
Refactoring and added regexp support
Refactoring and added regexp support
print usage on missing options