factor out display and make board modules