Created controller.php to act as an interface between the
javascript code and php.
Merge pull request #13 from deadVertex/master

Created controller.php to act as an interface between the