More functions, changed license to LGPL