add .gitignore
add 'fields' param to the get_* methods; a more reasonable table name convertion
add tests for the new parm 'fields'