Added header and source files for Dot class