Added a configuration system and moved the block handler onto it. Items are still hardcoded.