Close #297 Implemented a generic resource to simplify creating loadables