added new conneciton methods
implemented getOPtion method and tests