Separated extern management into src/externs.patel