Fixing up the SQL project a bit....

Not built yet, but this is where I'm going with this thing.