added junit support and more documentations