Added licenses where needed and SUBDIRS variables