converted into maven project
added inline doc