really simple config protocol, but enough for the moment