split up main file and assemblies