Started RuntimeAgent

Also extracted code for launching debugger into standalone file (module).