from your post, SWIM thinks that you are extracting E, mdma?
one can probably powder his pills, dissolve all in water. yes, water will do. Use any np solvent to wash it, twice at least if you are asking for purity. Keep the water solution and discard the non-polar solvent wash(es). Add NaOH solution to make the water solution kept very alkaline, say 12 or 13. Extract 3 times with your choice of np solvent. Distill the solvent, now you get not quite pure "E", mdma freebase. proceed to distill the free base, and you get now, purer freebase. And read up A/B extraction would surely help.
