added graphical libraries and fix routes