Split Viewer.hs into Constants, Display, InputActions