Added missing sql for tables
Removed some unneeded controllers