integrated gui with detector code + DB