Programming A Software Solution For G-Code-Based Control Of A Machine Tool In A Research Environment