Added block handling and solid flag block

Using a new ModBlocks class, blocks can easily be added in. Also, added
in a demo block called BlockFlag that demonstrates the new
functionality.