repository code complete, test written. Closes #6
added test for the new methods, closes #1