Console

- Added a console client of remote JVM agent
- Added console logging of threads data and loading logs into UI
- Performed small refactoring, moved common functionality into separate classes.