Added connect method with params arg. Relates to #37
Build