Use singleton instead.

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

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