Updated readme
Deny access to config.php
Added type check, minor cosmetic adjustments