Renamed some variables to norwegian and added some JavaDoc.