Move to namespaces.
Add ranges to db.
Add another test for range.