Adding license headers

Add license header and tidy up copyright messages for the app.