rework cuda acceleration
web-app prototype for cascade traing