Migrate to RSpec
Added secret token generator