added junit support
added junit support and more documentations