added language controller, rest and model