refactoring and documentation, moves secret to untracked file