add some test functions
add headers managment
fix bug in Trim function
update Config for take separator as param