begin to use encog lib