add license text to each file + use objects in more places