Removing some unused interfaces
Added a di compiler config