adding maxima support and starting to refactor cemit with recent updates in dj.pluarlity