Added parts of UI frontend code
Board now draws correctly but does not let user play moves