Add licence and author info.
Fix problem with version.
Fix problem with xml output builder.