Metagame Database Access

Added new file for adding/getting wins, etc from the database