Resource changes.

Added external resource interface IExternalResource.
Moved all resource related methods into Resources.
Changed way resources are accessed.
Removed error handling, will come up with a proper exception related
system soon.