Improve event handling
Add more functions for managing elements.
Add ajax.
Merge pull request #2 from ZioCrocifisso/master

Improved elements and event handling, added AJAX.