refactor dependencies install