Add software module for the advanced evolutionary algorithm

The main module was a little bit rewritten and some other small
modifications were performed elsewhere in order to make the copy
compilable. Consequent major revisions will follow.