split files up + started building directives