refactored SessionStore and wrote tests
travis ci config