fixes to embedding resources, and add models in dummy app for testing