Made variables overridables
Added temporary chown/chmod
Added a PHP/Sqlite example. Fixes #3