Fixed config.ru and added base secret key reading