Move package definitions to their own files
Declare more package dependencies

Probably still a lot missing, but we want to get rid of the file soon,
anyway.