added Response class and constants class