renamed files and did some documentation
added lgpl licence