Added AJAX call, moved functions to separate files, created a singleton when creating the HTTP obj.
Merge pull request #6 from abartolo/master

Added AJAX call, moved functions to separate files, created a singleton ...