Added auto functions and more tests. Updated README