Index, input form, tests and doc added