big change 5

correct app.java and inheritance in policy .