Much faster approach to retrieve project's resource paths

Part of #79.
Cache list of project resources

Fixes #79.
Cleanup: PEP8 fixes
Remove margin from root elements