add main code
add license to readme
distinguish configuration section
add real readme