Move system wide variables to global - added a new top.php which can be added as a require_once to every file ensuring the correct variables are created.
Merge pull request #9 from hazardfn/improve-usability

Improve usability