modifies file structure and adds new dependencies