Fixed issues regarding resource access

Using URLs now instead of directly accessing resources by file location