adding dependencies and removing generated file