make file for lib and each part...adding MDS