code cleanup
improved menu management. Introduced Joomla 3.x dependency.
- better form handling
- first step for having custom forms for methodes.