refactored ports for jenkins, redis and production. Created search and replace lib