add client.erl, frequency.erl