DI instead of facades.

Signed-off-by: crynobone <crynobone@gmail.com>