Moved SQL stuff into multiple files