Added main header, constants and datatypes headers.