Replace static security xml with groovy config
Remove unused file