Added crypto and config handler