added readme, cleaned up comments