fixed typo on the connector
version 2.0 - object oriented rewrite
renamed the script after changing it to be more object oriented