added LGPL header and python2 requirement
added license header