All functions converted to ruby.  Adding mysql connector