add Mercenary.java in a src file