fixed clerical bug
update getAPIKEY method and get header method
remove useless method
add getMethod method
fixed bug
remove useless code