A framework and multi-application prototype for integrated radiological diagnostics and radiation therapy