create border bane and move canvas to its own class