started work on posting_functions.php

removed spell template files from core