Finalized templating and mai engine
Removed unnecessary files
last minute changes