adding code files
adding method and test to add a dependency to the list