Finished resources class code

Still needs to be implemented. Code might not actually be finished.