Adding scala controller