first version finished
add license headers
details