Php require include

Consider pull request #55 first, as this pull request is based on those changes.