split elements into their own source files