[WIP]Dependencies and conflicts implementation

Please do not merge. Work still in progress.