implement webhook handler
add code mirror to help edit the config
Add basic scheduling for agents
merged updates from upstream