Almost evetythig is done

Almost evetythig is done, aside from a few details such as load from
file, save solution, present solution and settings (I've some doubts).
More information in mail.