Updated mesh class. re-organized the files in the source folders.