split source and definitions