started adding scala controller for transactional handling