A fork from pojosr project from http://pojosr.googlecode.com/svn/trunk/