some refactoring done. access keys stored in user's home folder instead of python file