Added method to check if a block has a block manager class.
Implementation of valid page check.
Code reformat