pushing up init javascript files. Created classes for board and blocks