Change display to class type
Auto position update, FILE* dispalyOut() support