adding configurable secret key option, readme, and test