added unity configuration for bed decision engine

Also refactored the console application so that it has the ability to
return bet decision