Main block class