add permissions
refactor fragments directory