Made demo app more demo-y. Incuding a demo of master-detail controller. Minor changes in library to improve API.