Updated the readme
Numerous changes including general code cleanup and fixing a bug with embedded model instances