Remove unused permissions
Remove unused libraries

Also add fragments