Support branches, cleanup code
Add readme