Messed with resource stuff. Started working on adding resource types. Still a long way to go.