Moved module Store from models to lib

   To support eager_loading in production