Added LGPL and documentation.