move cleaned up nagdash.php to htdocs
move POST endpoints back into htdocs/