changing default constructor to use default host and port (localhost)