Configure for use as library
Update README