WIP: Start numeric type for resources

Opening for comments on this approach. Not functional yet.
Good suggestion, will fix when this gets another timeslice.