minor tweaks to Framework/Service - and sample app to test it (incomplete)