added code for mesh visualising
added missing libs