added base of main block class.