fixed wrong gem dependency environment
fixed unnecessary complicated require statement
added rspec for RedisConf
divided configuration into two environments for better testing
added module for simple input validation