Added license information. Small rearrangements for consistency between packages. Signed-off-by: Rosen Penev <rosenp@gmail.com>