Added a component to handle the Ajax call. Restructured the repository into a Joomla package.