Rearranged libraries - dpy and printing utils moved to remote lib. Fixed import statements