Rename database variable to db for easier access
Add Header class
Add phpdoc
Remove closing php tag
Formatting
Add Footer class
Spacing
Add necessary future change
Add index page/page template
Update comment