[UPDATE] moved response handler to separate file.