Renamed the functions class to resources