refactor repository sources, add phusion as option