refactored symstore and implemented unit tests