move calculations to model
add generic PM, CB, Model baseclasses
changed return type in loadViewAndGetChildController to support new ui base classes