Moved some of functionality of MainActivity into BoardLayout

Signed-off-by: ColleenN <ColleenFNelson@gmail.com>