create an interface instance for the readline thing