Fixed some bugs.
and malache is now available for application server.
updated sample