refactored dependencies class
deleted useless class