The rest of resources implemenation

Ignore the name of this branch, it's not broken