Since you're in the mood for a  bit of house-keeping ...

I can't see anywhere that ```RESOURCE_DIR``` is used. Can this be purged?