Added constructor and moved location/language to instance variables.