Move common preamble to top-level directory