move p0 table definitions to header dir