improved docu and added licence info