Moved constant declarations to core.php; Changed function name eh to encodeString; Moved redirectTo function to html_helper from valdiation_helper