Bug fixes for simplify command

Fixed bug for refFile with github file dependency
Using Save method on DependenciesFile
Wrote some dcs