Added block listener

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>