moved index.php to separate htdocs (public) folder and moved some parts to bootstrap.php
documentation update