re-init with play framework
refactering