common framwork for all the apps