Updated the method declarations in *.h.
Use o_uint instead of ooc_uint.
Refactor table.c by macros.