Code reuse

Commonly used scripts has been moved into include.php, and it has been
included in all front end files.
Merge pull request #4 from connorTang/wizard

Code reuse