small bugfix and added a LICENSE file