First working version!

Implemented calls to ajax:post.
Still many things to fix, but working.