add license headers

[skip ci]
load dotenv-rails before other dependencies