fix readme, comment some code