Completely redone resourcemanager.