BugFix: not initialized pointer;
Adding COPYING file; Adding copyright info to some source files;
Some documentation improvements;