Changed ResourceManager and Graphics class to contain static methods instead of static access to a singleton instance.