WIP: Start numeric type for resources

Opening for comments on this approach. Not functional yet.