refact profiler
implement agent command
add server parameter for agent