Added Maven Nature

Added Maven nature
Added Memcached support
Queries moved from Javascript to Java