final version of resources.js

A file that holds all helper "classes"