Adding header + some core functionality, with example (sample.php)