added constants and changed char* to string

Signed-off-by: Daria <daria.zasipko@gmail.com>