move examples to their own folder, add a few constants to config.php