reorganized resourcehandlers, added new interface for filestored interfaces