Refactored scales database