Fixed some SQL problems, Added Chat to handle chat stuff