Add licence headers
Update ResourceException