Preparing MasterDetail like app