added board creation
fixed compile errors