Case sensitive mysql

This set of commits updates the SQL file as well as the code so that the table names are consistent across the entire code base.  This is important because mysql behaves differently on linux with case sensitive file systems.