Refactored block in to a separate package

Signed-off-by: ShadowChild <shadychild12@gmail.com>