Added optional values to the json files fore completeness.
Added logger class and some debugging information for the log.
Moved index.php to httpdocs directory.