Added support to initialize connector using constructor, removed support
for properties file and added custom exception