clean up old functions
start notification system from scratch, func.php no longer needed