Refactor adapter and added StoreManager and static configuration