Frequencies computing made faster; stuff decomposition into several files made