changes to support list with headers, support for maven, change to be use as a jar, extracted unecessary stuff form the library to the sample app