add notes

remove unnecessary key creation
start adding tests for repository