adding typescript controllers