Added code through page 218, Finished Resources Class