resource-ified more of the code, resource deps aren't being handled properly so using package.json for deps