move main() out of Databugger class