added basic constructor and repain() to BoardFrame