corrected problems in str_functions.php library. Libraries now accessable from within models.