add hp_agent source files
rename agent core files
rename old agent core files.
swith to cpp from c
add cpp source files.