some refactoring. Put storage and starred features into separate services
don't expose store object globally