Added validator and more tests
Edited README