Moved LoggedBlock to external class

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