Add block settings

This adds block settings. Fixes #1