Refactory .xml /.java