Two phase analysis (model create then source creation) for dependency cycle problem’s resolution