added licence text, removed logging calls from main classes