Adding depedency injection on contacts

Signed-off-by: Lucas Ferreira <lucasfe@gmail.com>