add graphics view window (yet without use)
refactor CNCCon code generation into seperate class