WIP: Start numeric type for resources

Opening for comments on this approach. Not functional yet.
Do we really need to support negative quantities?