I suppose I'm learning SQL now

Created a new connector file to replace the old one riddled with bugs.
Updated databaseConstructor to match. So far everything is tested
functional