Split control system into own package and file.