Setting up source structure.