Added contents in sample files of PathBasedAccessControl

Signed-off-by: Shivam Dixit <shivamd001@gmail.com>
Changed exception message

Signed-off-by: Shivam Dixit <shivamd001@gmail.com>
Fix for #18
Other minor bug fixes, code cleaning and tweaking
Signed-off-by: Shivam Dixit <shivamd001@gmail.com>