move docroot definition into framework