added NOTICE file to each sub project, added licences to source files