partial SQL implementation for all tables and all actions to use
throughout the app
Merge pull request #2 from wmb1232/addtoSQLcode

partial SQL implementation for all tables and all actions to use