CreateTable method inplemented.