Refactoring PHAR build and add passwd file to WEB-INF folder