Added documentation, cleaned up
updated table 5 functions to include support for remarks column