updated Record API in h and readme, implemented
commented database and table tests

uncomment to test different areas