Moving code out of the top-level directory
Added Board:update to make main.lua a short as possible