Implemented right system and moved much complexity to ruby and yaml configuration.