Basic use of localstorage in sky service.

TODO: Should support larger ranges. Code refactoring.