fix readme and write some simple unit test
rewrite model, fix index.php