Fixed some style issues that occurred

Moved ResourceSystem into the system namespace.