Main Block Class